package com.tang.logger.pusher;

import com.tang.logger.domain.LogMessage;

/**
 * @author Tang
 * @classname LogPusher
 * @description [  ]
 * @date 2021/7/24 23:03
 */
public interface LogPusher {

    interface Name {

        String WEBSOCKET = "websocketLogPusher";

        String DATABASE = "databaseLogPusher";

        String BUFFERED_DATABASE = "bufferedDatabaseLogPusher";

    }

    /**
     * 推送日志
     * @param logMessage
     */
    void push(LogMessage logMessage);

}
